$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;
$f: 19.2;

.home {
  position: relative;
  width: 100%;

  .container {
    position: relative;

    .banner {
      width: 100%;
      position: relative;

      .bg {
        img {
          width: 100%;
          display: block;
          object-fit: cover;
        }
      }

      .text {
        position: absolute;
        left: 10vw;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;

        .p1 {
          color: #030303;
          font-size: $fontSize_54;
          font-weight: bold;
          display: flex;
          align-items: flex-start;

          svg {
            width: 21/$f+vw;
            display: block;
            margin: 0.7vw 0 0 0.7vw;
          }
        }

        .p2 {
          color: #464646;
          font-size: $fontSize_36;
          margin-top: 0.6vw;
          font-family: 'SourceHanSansCN-Light';
        }
      }
    }

    .section1 {
      border-bottom: 1px solid #CFCFCF;
      padding-bottom: 20px;
      position: relative;
      margin: 6vw 10vw;

      .links {
        display: flex;
        align-items: center;

        a,
        span,
        p {
          color: #666;
          font-size: $fontSize_18;
        }

        a {
          transition: all 600ms;

          &:hover {
            color: rgba(0, 96, 176, 1);
          }
        }

        span {
          margin: 0 5px;
        }
      }

      .back {
        position: absolute;
        right: 0;
        bottom: 0;

        a {
          background: #0060B0;
          color: white;
          font-size: $fontSize_22;
          padding: 0.4vw 2.2vw;
          transition: all 600ms;
          display: block;
        }
      }
    }

    .section2 {
      margin: 4vw 10vw;
      display: flex;
      justify-content: space-between;

      .l {
        width: 48%;
        position: relative;

        .swiper-container {
          .pic {
            background-color: rgba(228, 240, 255, .4);

            img {
              width: 100%;
              display: block;
              object-fit: cover;
            }
          }
        }

        .prev {
          position: absolute;
          left: 2%;
          top: 50%;
          transform: translateY(-50%);
          z-index: 10;
        }

        .next {
          position: absolute;
          right: 2%;
          top: 50%;
          transform: translateY(-50%);
          z-index: 10;
        }

        .prev,
        .next {
          cursor: pointer;

          svg {
            display: block;
            width: 58/$f+vw;

            path,
            circle {
              stroke: rgba(38, 43, 47, .3);
              transition: all 600ms;
            }
          }

          &:hover {
            svg {

              path,
              circle {
                stroke: rgba(0, 96, 176, 1);
              }
            }
          }
        }

        .swiper-pagination-progressbar {
          left: 0;
          bottom: 0;
          width: 100%;
          background-color: rgba(190, 191, 193, .5);
          height: 3px;

          .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
            background-color: #0060B0;
          }
        }
      }

      .info {
        width: 47%;
        position: relative;

        .p1 {
          color: #000;
          font-size: $fontSize_36;
          font-weight: 600;
        }

        .p2 {
          color: #006AB5;
          font-size: $fontSize_22;
          font-weight: 600;
          margin: 2vw 0 0.5vw 0;
          line-height: 1.6;
        }

        .des {
          color: #000;
          font-size: $fontSize_22;
          font-family: 'SourceHanSansCN-Light';
          line-height: 1.6;
        }

        a {
          display: block;
          border: 1px solid #0060B0;
          width: fit-content;
          padding: 0.6vw 1.6vw;
          color: #0060B0;
          font-size: $fontSize_22;
          font-weight: 500;
          transition: all 600ms;
          position: absolute;
          left: 0;
          bottom: 0;

          &:hover {
            background-color: #0060B0;
            color: white;
          }
        }
      }
    }

    .section3 {
      background: linear-gradient(180deg, #E8F1FB 6.75%, #C7E5FC 100%);
      padding: 5vw 10vw;

      .box1 {
        .pt {
          position: relative;
          width: fit-content;
          font-size: $fontSize_36;
          font-weight: 600;
          margin-bottom: 2vw;

          p {
            margin-bottom: 1.2vw;
          }

          svg {
            display: block;
            width: 96/$f+vw;
          }
        }

        .content {
          display: flex;
          justify-content: space-between;
          flex-wrap: wrap;
          margin-top: 3vw;

          .i {
            width: 50%;
            display: flex;
            font-size: $fontSize_22;

            p {
              padding: 0.8vw 0;
              text-indent: 2vw;
            }

            .p1 {
              background-color: #F4F9FF;
              width: 50%;
              border: 1px solid #DEEAF8;
            }

            .p2 {
              border: 1px solid #DEEAF8;
              width: 50%;
            }
          }
        }
      }

      .box2 {
        margin-top: 6vw;

        .pt {
          position: relative;
          width: fit-content;
          font-size: $fontSize_36;
          font-weight: 600;
          margin-bottom: 2vw;

          p {
            margin-bottom: 1.2vw;
          }

          svg {
            display: block;
            width: 96/$f+vw;
          }
        }

        .info {
          .item {
            display: flex;
            align-items: center;
            margin-bottom: 1vw;

            .icon {
              img {
                display: block;
                width: 51/$f+vw;
                height: 51/$f+vw;
              }
            }

            .txt {
              color: #464646;
              font-size: $fontSize_28;

              span {
                font-weight: 600;
                width: 6vw;
                display: inline-block;
                margin: 0 0.6vw 0 1vw;
              }
            }
          }
        }
      }
    }

    .section4 {
      width: 100%;
      display: flex;
      background: #F9F9F9;
      align-items: center;

      .l {
        width: 50%;

        .text {
          margin: 0 3vw 0 10vw;

          .pt {
            position: relative;
            width: fit-content;
            font-size: $fontSize_36;
            font-weight: 600;
            margin-bottom: 2vw;

            p {
              margin-bottom: 1.2vw;
            }

            svg {
              display: block;
              width: 96/$f+vw;
            }
          }

          .des {
            color: #464646;
            font-size: $fontSize_28;
            line-height: 1.6;
          }
        }
      }

      .r {
        width: 50%;
        overflow: hidden;

        img {
          width: 100%;
          display: block;
          object-fit: cover;
          height: 100%;
          transition: all 600ms;
        }

        &:hover {
          img {
            transform: scale(1.05);
          }
        }
      }
    }

    .section5 {
      margin: 6vw 10vw;

      .pt {
        position: relative;
        width: fit-content;
        font-size: $fontSize_36;
        font-weight: 600;

        p {
          margin-bottom: 1.2vw;
        }

        svg {
          display: block;
          width: 96/$f+vw;
        }
      }

      .pros {
        margin: 3vw 0;

        .swiper-container {
          a {
            display: block;

            .pic {
              background-color: rgba(228, 240, 255, .4);
              overflow: hidden;

              img {
                width: 100%;
                display: block;
                object-fit: cover;
                transition: all 600ms;
              }

              &:hover {
                img {
                  transform: scale(1.05);
                }
              }
            }

            .des {
              color: #000;
              font-size: $fontSize_16;
              width: 80%;
              line-height: 1.5;
              margin-top: 2vw;

              p {
                font-family: 'SourceHanSansCN-Light';
              }
            }
          }
        }
      }
    }
  }



  @media screen and (max-width: 1024px) {
    padding-top: 60px;

    .container {
      .banner {
        .bg {
          img {
            height: 150px;
          }
        }

        .text {
          left: 5%;

          .p1 {
            font-size: 24px;

            svg {
              width: 10px;
            }
          }

          .p2 {
            font-size: 18px;
          }
        }
      }

      .section1 {
        margin: 20px 5%;

        .links {
          transform: translateY(10px);

          a,
          p,
          span {
            font-size: 14px;
          }
        }

        .back {
          a {
            font-size: 14px;
            padding: 4px 20px;
          }
        }
      }

      .section2 {
        flex-direction: column;
        margin: 20px 5% 40px 5%;

        .l {
          width: 100%;

          .prev,
          .next {
            svg {
              width: 30px;
            }
          }
        }

        .info {
          margin-top: 20px;
          width: 100%;

          .p1 {
            font-size: 18px;
          }

          .p2 {
            font-size: 14px;
            margin: 10px 0;
          }

          .des {
            font-size: 14px;
          }

          a {
            position: static;
            padding: 8px 25px;
            font-size: 14px;
            margin-top: 20px;
          }
        }
      }

      .section3 {
        padding: 30px 5%;

        .box1 {
          .pt {
            font-size: 18px;
            margin-bottom: 20px;

            svg {
              width: 50px;
            }
          }

          .content {
            margin-top: 20px;

            .i {
              width: 100%;

              p {
                font-size: 12px;
                padding: 10px 0;
                text-indent: 10px;
              }
            }
          }
        }

        .box2 {
          margin-top: 30px;

          .pt {
            font-size: 18px;
            margin-bottom: 20px;

            svg {
              width: 50px;
            }
          }

          .info {
            .item {
              margin-bottom: 15px;

              .icon {
                img {
                  width: 30px;
                  height: 30px;
                }
              }

              .txt {
                font-size: 14px;
                margin-left: 10px;
                line-height: 1.6;

                span {
                  width: 70px;
                }
              }
            }
          }
        }
      }

      .section4 {
        flex-direction: column;

        .l {
          width: 100%;
          padding: 40px 0;

          .text {
            margin: 0 5%;

            .pt {
              font-size: 18px;
              margin-bottom: 20px;

              svg {
                width: 50px;
              }
            }

            .des {
              font-size: 16px;
            }
          }
        }

        .r {
          width: 100%;
        }
      }

      .section5 {
        margin: 30px 5%;

        .pt {
          font-size: 18px;
          margin-bottom: 20px;

          svg {
            width: 50px;
          }
        }

        .pros {
          .swiper-container {
            a {
              .des {
                width: 90%;
                font-size: 14px;
                margin-top: 20px;
              }
            }
          }
        }
      }
    }
  }
}